package ooday03;

public class Fish extends Animal {
    Fish(){}
    Fish(String color,int age,String name){
        super(color,age,name);
    }
    void eat(){
        System.out.println(color+"色"+age+"岁"+name+"正在吃虾米...");
    }
    public void swim(){
        System.out.println(name+"正在游泳..");
    }
}
